package com.niuma.pojo;

import java.util.Date;

/**
 * @author 一颗蛋50斤
 * 用户类
 */
public class User {

    /*
    id : id
    userCode : 用户的账号
    userName : 用户名称
    userPassword : 用户密码
    gender : 性别
    phone : 用户的手机号码
    email : 用户电子邮箱
    userRole : 用户职位
    creationDate : 创建时间
     */

    private Integer id;
    private String userCode;
    private String userName;
    private String userPassword;
    private Integer gender;
    private String phone;
    private String email;
    private Integer userRole;
    private Date creationDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getUserRole() {
        return userRole;
    }

    public void setUserRole(Integer userRole) {
        this.userRole = userRole;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }
}
